regexp/syntax.frag.nullable (field)
10 uses
regexp/syntax (current package)
compile.go#L62: nullable bool // whether fragment can match empty string
compile.go#L163: f := frag{i: uint32(len(c.p.Inst)), nullable: true}
compile.go#L198: return frag{f1.i, f2.out, f1.nullable && f2.nullable}
compile.go#L215: f.nullable = f1.nullable || f2.nullable
compile.go#L253: if f1.nullable {
compile.go#L262: return frag{f1.i, c.loop(f1, nongreedy).out, f1.nullable}
compile.go#L274: f.nullable = false
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |